// app/models/user.js
// load the things we need
var mongoose = require('mongoose');

// define the schema for our user model
var follower = new mongoose.Schema({

	account:String,
	nickname : String,
	province : String,
	city : String,
	uniqueID :String,
	shortID :String,
	uid:String,
	followerCount:Number,
	gender:Number

	});											

// methods ======================
follower.index({account: 1});
follower.index({uid: 1});
follower.index({gender: 1});
// create the model for users and expose it to our app
module.exports = mongoose.model('Follower', follower);
